<?php
  $pagina = $_GET["pg"];
	switch ($pagina) {
    case "":   
        header("Location: Principal.php?pg=Principal");
        break;
    case "Fotos":
         header("Location: Principal.php?pg=Fotos");
        break;
    case "Contato":
         header("Location: Principal.php?pg=Contato");
        break;
	}	
?>
